body{
    background-color: #f5f5f5;
}
/*盒子主体*/
.hm_layout{
    position: relative;
    width: 100%;
    max-width: 640px;
    min-width: 300px;
    margin: 0 auto;

}
.hm_header{
    position: fixed;
    left: 0;
    top: 0;
    height: 40px;
    width: 100%;
    z-index: 1000;

}

.hm_header>.hm_header_box{
    width: 100%;
    max-width: 640px;
    min-width: 300px;
    margin: 0 auto;
    background: rgba(201,21,35,0);
    height: 40px;
    position: relative;
}

.hm_header>.hm_header_box>.icon_logo{
    width: 60px;
    height: 36px;
    position: absolute;
    background-position: 0 -103px;
    top: 4px;
    left: 10px;
}
.hm_header>.hm_header_box>.login{
    width: 50px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    position: absolute;
    text-align: center;
    top: 0;
    right: 0;
    font-size: 15px;
    color: #fff;
}
.hm_header>.hm_header_box>form{
    width: 100%;
    padding-left: 75px;
    padding-right: 50px;
    height: 40px;
    position: relative;
}
.hm_header>.hm_header_box>form>input{
    width: 100%;
    height: 30px;
    border-radius: 15px;
    margin-top: 5px;
    padding-left: 30px;
}
.hm_header>.hm_header_box>form>.icon_search{
    height: 20px;
    width: 20px;
    position: absolute;
    background-position: -60px -109px;
    top: 10px;
    left: 85px;
}

.hm_banner{
    position: relative;
    width: 100%;

    overflow: hidden;
}
.hm_banner>ul:first-child{
    width: 1000%;
    -webkit-transform: translateX(-10%);
    transform: translateX(-10%);
}

.hm_banner>ul:first-child>li{
    float: left;
    width: 10%;
    overflow:hidden;

}
.hm_banner>ul:first-child>li>a{
    display: block;
    width: 100%;

}

.hm_banner>ul:first-child>li>a>img{
    display: block;
    width: 100%;
    /**/

}
.hm_banner>ul:last-child{
    width: 118px;
    height: 6px;
    position: absolute;
    bottom: 6px;
    left: 50%;
    margin-left:-59px ;


}
.hm_banner>ul:last-child>li{
    width: 6px;
    height: 6px;
    float: left;
    border-radius: 3px;
    border: 1px solid #fff;
    margin-left: 10px;
    list-style: none;
}
.hm_banner>ul:last-child>li.now{
    background: #fff;
}
.hm_banner>ul:last-child>li:nth-child(1){
    margin-left: 0;
}

.hm_nav{
    width: 100%;
    background: #fff;

    border-bottom: 1px solid #e0e0e0;
}

.hm_nav>ul{
    width: 100%;
    padding: 10px 0;
}
.hm_nav>ul>li{
    width: 25%;
    float: left;
    list-style: none;
}
.hm_nav>ul>li>a{
    display: block;
    text-decoration: none;
}
.hm_nav>ul>li>a>img{
    width: 40px;
    height: 40px;
    display: block;
    margin: 0 auto;
}
.hm_nav>ul>li>a>p{
    text-align: center;
    color: #666;
    font-size: 12px;
    padding: 6px 0;
}

.hm_product{
    padding: 0 5px;
}
.hm_product> .product_box{
    width: 100%;
    background: #fff;
    margin-top: 10px;
    box-shadow: 0 0 1px #e0e0e0;
}
.hm_product>.product_box>.product_box_tit{
    height: 32px;
    line-height: 32px;
    border-bottom: 1px solid #e0e0e0;
}
.hm_product>.product_box>.product_box_tit.no_border{
    border-bottom: none;
}
.hm_product>.product_box>.product_box_tit>h3{
    font-weight: normal;
    font-size: 15px;
    padding-left: 20px;
    position: relative;
    color: #666;
}
.hm_product>.product_box>.product_box_tit>h3::before{
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    width: 3px;
    height: 12px;
    background: #d8505c;
}


/*.b_bottom{*/
/*    border-bottom: 1px solid #e0e0e0;*/
/*}*/
/*商品盒子*/
/*.hm_product{*/
/*    padding: 0 5px;*/
/*}*/
/*.hm_product > .product_box{*/
/*    width: 100%;*/
/*    background: #fff;*/
/*    margin-top: 10px;*/
/*    box-shadow: 0 0 1px #e0e0e0;*/
/*}*/
/*.hm_product > .product_box > .product_box_tit{*/
/*    height: 32px;*/
/*    line-height: 32px;*/
/*    border-bottom: 1px solid #e0e0e0;*/
/*}*/
/*.hm_product > .product_box > .product_box_tit.no_border{*/
/*    border-bottom: none;*/
/*}*/
/*.hm_product > .product_box > .product_box_tit > h3{*/
/*    font-weight: normal;*/
/*    font-size: 15px;*/
/*    padding-left: 20px;*/
/*    position: relative;*/
/*    color: #666;*/
/*}*/
/*.hm_product > .product_box > .product_box_tit > h3::before{*/
/*    content: "";*/
/*    position: absolute;*/
/*    top:10px;*/
/*    left:10px;*/
/*    width:3px;*/
/*    height: 12px;*/
/*    background: #d8505c;*/
/*}*/
/*掌上秒杀 second kill*/
.hm_sk{}
.hm_sk .sk_icon{
    background: url("../images/seckill-icon.png") no-repeat;
    background-size: 16px 20px;
    width: 16px;
    height: 20px;
    float: left;
    margin-top: 6px;
}
.hm_sk .sk_name{
    color: #d8505c;
    font-size: 15px;
    float: left;
}
.hm_sk .sk_time{
    float: left;
    margin-top: 8px;
}
.hm_sk .sk_time > span{
    float: left;
    width: 15px;
    height: 15px;
    line-height: 15px;
    text-align: center;
    background: #333;
    color: #fff;
    margin-left: 3px;
}
.hm_sk .sk_time > span:nth-child(3n){
    background: #fff;
    color: #333;
    width: 5px;
}
.hm_sk .product_box_con > ul{
    width: 100%;
    font-size: 12px;
    padding: 10px 0;
}
.hm_sk .product_box_con > ul > li{
    width: 33.333%;
    float: left;
    text-align: center;
}
.hm_sk .product_box_con > ul > li > a{
    display: block;
    width: 100%;
    border-right: 1px solid #e0e0e0;
}
.hm_sk .product_box_con > ul > li:last-child > a{
    border-right: none;
}
.hm_sk .product_box_con> ul > li > a > img{
    width: 64%;
    display: block;
    margin: 0 auto;
}
/*
    E:first-of-type  选择E同类型的同级的第一个元素
    E:last-of-type   选择E同类型的同级的最后一个元素
    E:nth-of-type(n) 选择E同类型的同级的第n个元素
*/

.hm_sk .product_box_con > ul > li >p:first-of-type{
    color: #d8505c;
    padding: 5px;
}
.hm_sk .product_box_con>ul>li>p:last-of-type{
    text-decoration: line-through;
    color: #666;
    padding-top: 5px;
}

.w_50{
    width: 50%;
    display: block;
}
.w_50>img{
    display: block;
    width: 100%;
}
.b_left{
    border-left: 1px solid #e0e0e0;
}
.b_right{
    border-right: 1px solid #e0e0e0;
}
.b_bottom{
    border-bottom: 1px solid #e0e0e0;
}

